/**
 * 配置请求url
 */

const baseUrl = "/root"; // 后台服务
const token = "/token"; // 币种相关

export const URLS = {
  LOGIN: baseUrl + "/api/user/login",
  USER_INFO: baseUrl + "/api/user/user-info",
  WALLET_LIST: baseUrl + "/api/wallet/list",
  CHAIN_LIST: baseUrl + "/api/issue-chain",
  COIN_PRICE: baseUrl + '/interface/market',
  PARALLEL_LIST: token + '/api/chains',
  MAIN_CHAINS: token + '/api/primary-chains',
  USER_CHAINS: token + '/api/user-chains',
  EDIT_PASSWORD: baseUrl + '/api/user/edit-pwd',
  //-----  用户管理  -----//
  USER_LIST: baseUrl + "/api/user/user-list",
  USER_ASSETS: baseUrl + "/api/wallet/user-asset",
  USER_AUDIT_LIST: baseUrl + "/api/user/manual-list",
  USER_AUDIT: baseUrl + "/api/user/verify",

  //-----  监控管理  -----//
  WALLET_BALANCE: baseUrl + "/api/wallet/wallet-ballance",
  BALANCE_LIST: baseUrl + "/api/monitor/list",
  //-----  资产管理  -----//
  ASSETS_COMMON: baseUrl + "/api/asset",
  //-----  一键发币  -----//
  ONE_KEY_LIST: baseUrl + "/api/issue-coin/apply-list",
  ONE_KEY_DETAIL: baseUrl + "/api/issue-coin/apply-detail",
  ONE_KEY_AUDIT: baseUrl + "/api/issue-coin/verify",
  ONE_KEY_AUTO_STATUS: baseUrl + "/interface/issue-chain/manual-review-status",
  ONE_KEY_AUTO_SET: baseUrl + "/api/issue-chain/manage-review",
  ONE_KEY_FEE_GET: baseUrl + "/api/issue-chain/chain-info",
  ONE_KEY_FEE_SET: baseUrl + "/api/issue-chain/set-charge",
  ONE_KEY_FEE_TOKENS: baseUrl + "/api/issue-chain/get-tokens",
  //-----   探索管理  ----//
  EXPLORER_BANNER_CATEGORY: baseUrl + "/api/banner/type",
  EXPLORER_BANNERS: baseUrl + "/api/banner",
  EXPLORER_BANNER_ADD: baseUrl + "/api/banner",
  EXPLORER_BANNER_DEL: baseUrl + "/api/banner/remove",
  EXPLORER_BANNER_UPDATE: baseUrl + "/api/banner/update",
  EXPLORER_BANNER_DETAIL: baseUrl + "/api/banner/update",

  EXPLORER_CATEGORYS: baseUrl + "/api/explore-app/category",
  EXPLORER_CATEGORY_ADD: baseUrl + "/api/explore-app/category",
  EXPLORER_CATEGORY_UPDATE: baseUrl + "/api/explore-app/category-update",
  EXPLORER_CATEGORY_DEL: baseUrl + "/api/explore-app/category-remove",

  EXPLORER_APPS: baseUrl + "/api/explore-app/apps",
  EXPLORER_APP_ADD: baseUrl + "/api/explore-app/apps",
  EXPLORER_APP_UPDATE: baseUrl + "/api/explore-app/app-update",
  EXPLORER_APP_DEL: baseUrl + "/api/explore-app/app-remove",
  EXPLORER_APP_DETAIL: baseUrl + "/api/explore-app/app-update",
  //---- 消息中心 ----//
  MESSAGE_LIST: baseUrl + "/api/notice",
  MESSAGE_ADD: baseUrl + "/api/notice",
  MESSAGE_DETAIL: baseUrl + "/api/notice/update",
  MESSAGE_UPDATE: baseUrl + "/api/notice/update",
  MESSAGE_DEL: baseUrl + "/api/notice/remove",

  //---- 快讯新闻 ----//
  NEWS_URL: token + "/api/news",
  ARTICLES_URL: token + "/api/article",
  ARTICLES_LIST: token + "/api/articles",

  //---- 闪兑模块 ----//
  FLASH_TOKEN_LIST: baseUrl + "/api/flash/flash-list-config",
  FLASH_TOKEN_OPERATE: baseUrl + "/api/flash/flash-config",
  FLASH_SUP_TOKEN: baseUrl + "/api/flash",
  FLASH_TRADE_SUP: baseUrl + "/interface/market/exchange",

  //---- 币种管理模块 ----//
  TOKEN: token + '/api/coins',
  TOKEN_OPERATE: token + '/api/coin',
  TOKEN_SUPPORT: token + '/api/coin-relation',
  TOKEN_RECOMMEND: token + '/api/recommend-coins',
  TOKEN_OPERATE_OPERATE: token + '/api/recommend-coin',
  TOKEN_CATEGORY: token + '/api/recommend-categories',
  TOKEN_CATEGORY_OPERATE: token + '/api/recommend-category',
  TOKEN_FEE: token + '/api/transaction-fees',
  TOKEN_PRICE_SUP: token + '/api/coins-by-platform',
  TOKENS_PRICE: token + '/api/coins-ticker',
  TOKEN_PRICE: token + '/api/coin-ticker',
  TOKEN_DEC_FEE_LIST: token + '/api/coins-gas',
  TOKEN_DEC_FEE: token + '/api/coin-gas',

  //---- 钱包管理模块 ----//
  WALLET_PARALLEL: token + '/api/chain',
  WALLET_PARALLEL_LIST: token + '/api/chains',
  WALLET_LISTS: token + '/api/wallets',
  WALLET_OPERATE: token + '/api/wallet',
  WALLET_LEGALCOIN: token + '/api/supported-currencies',
  WALLET_LEGALCOIN_OPERATE: token + '/api/supported-currency',
  WALLET_LEGALLIST: token + '/api/currencies',
  PARALLEL_SUPPORTED: token + '/api/supported-chains',
  PARALLEL_SUPPORTED_OPERATE: token + '/api/supported-chain',


  //---- 日志模块 ----//
  LOG_LOGS: token + "/api/logs",

  //---- 直播模块 ----//
  LIVE_INFO: token + '/api/live-info',
  LIVE_CATEGORY: token + '/api/live-category',
  LIVE_CATEGORY_LIST: token + '/api/live-categories',
  LIVE_TITLE: token + '/api/live-title-record',
  LIVE_BANNER: token + '/api/live-banner',
  LIVE_BANNERS: token + '/api/live-banners',

  //---- 管理员模块 ----//
  MANAGERS: token + '/api/managers',
  MANAGER: token + '/api/manager',

  //---- 图片上传 ----//
  UPLOAD: baseUrl + "/api/oss/upload",

  //---- 行情 ----//

};